home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr25 / inim21a2.zip / INICHNGE.TXT next >
Text File  |  1993-06-05  |  51KB  |  1,090 lines

  1.                       INIMAINT CHANGE HISTORY
  2.  
  3. ******************************* V1.0a *******************************
  4.  
  5. The items fixed in Version 1.0a are:
  6.  
  7. 1. There was a potential problem in 1.0 if a new file was selected
  8. before the data for a key was written to the file. This turned out to
  9. not be a problem.
  10.  
  11. 2. If INIMAINT was closed in a minimized condition, the correct
  12. window size and location were not stored. This has been fixed.
  13.  
  14. 3. The SIZE calculation for All Groups was incorrect if a single
  15. Application was included in more than one Group. This has been fixed.
  16.  
  17. 4. If the Help Instance could not be created because the INIHELP.HLP
  18. file was not found, the user only got a 5101 logic error. The Dump
  19. Dialog has been changed to add a line that gives the reason for any
  20. outstanding logic error.
  21.  
  22. 5. The PM Error Text was not displayed when there was a PM Error.
  23. OS/2 1.3 with CSD WR5050 has a bug in this area and will not display
  24. the correct text. The text will now be displayed.
  25.  
  26. 6. When an error was encountered during Help Instance Initialization,
  27. the help error code was not stored in the Help Error area. This has
  28. now been fixed.
  29.  
  30. 7. INIMAINT would not run at all if there was a problem initializing
  31. the Help. It will now run, but no Help will be available.
  32.  
  33. ******************************* V1.0b *******************************
  34.  
  35. The items fixed in Version 1.0b are:
  36.  
  37. 1. More of the Help has been done, the missing Help is now that for
  38. the Dialog Boxes.
  39.  
  40. 2. When run under OS/2 2.0 a Message Queue Full error was being
  41. encountered. This was fixed by increasing the Message Queue from the
  42. default 10 to 30.
  43.  
  44. ******************************* V1.0c *******************************
  45.  
  46. The items fixed in Version 1.0c are:
  47.  
  48. 1. A Dump message logging facility was added so that problems with
  49. message sequences could be logged and identified.
  50.  
  51. 2. Because of a problem in OS/2 2.0 the return from setting the top
  52. index in a listbox is incorrect. The check for a valid return from
  53. this API call has been removed so that INIMAINT will run under OS/2
  54. 2.0.
  55.  
  56. ******************************* V1.0d *******************************
  57.  
  58. The items fixed in Version 1.0d are:
  59.  
  60. 1. When INIMAINT first comes up, the LOGO box does not have the Focus
  61. and the Enter Key will not close it, it can only be closed using the
  62. Mouse. The Focus is not forced to the LOGO Dialog during initial
  63. window processing.
  64.  
  65. 2. The Dump Dialog will not fit on a 640x480 VGA Screen. To fix this
  66. the Dump dialog was made 20 pels shorter.
  67.  
  68. 3. The filling of the Listboxes, the MLE and the Size calculation all
  69. have the capability to run for some time, especially under OS/2 2.0,
  70. and they block any processing of messages during this period. These
  71. functions have been moved to a separate thread.
  72.  
  73. 4. Choosing Menu Items such as Size, Copy and Move cause a Dialog box
  74. to appear with the selections. The Selections are now a menu, not a
  75. dialog.
  76.  
  77. 5. If there is a lot of data to be inserted into the MLE, the MLE
  78. blinks a lot. The window is now be disabled during the data insertion.
  79.  
  80. 6. If Size is selected and then Cancelled, a Size of 20 bytes was
  81. displayed. This has been fixed.
  82.  
  83. 7. The buttons in the New File Dialog were in uppercase, but now are
  84. lower case.
  85.  
  86. 8. If a New File is selected on a diskette drive that has no
  87. diskette, a terminal error resulted. Now a Message Box will be
  88. presented and the old drive will remain the current drive.
  89.  
  90. 9. Selecting an empty VDISK drive got a terminal error. This has been
  91. fixed.
  92.  
  93. 10. You could not Cancel a Copy without selecting a target file. This
  94. has been fixed.
  95.  
  96. 11. When the contents of the Dump Dialog were written to a file, the
  97. values of the various error indicators, which are displayed at the
  98. top of the Dialog, were not written. This has been fixed.
  99.  
  100. 12. If a non-INI file is selected and it causes INIMAINT to
  101. terminate, then the program would not restart, because it attempted to
  102. use the same file and continued to get the same error. The user is
  103. now informed the file is invalid and given a chance to select a new
  104. file to edit.
  105.  
  106. 13. When opening a new INI file to edit, the check for a valid INI
  107. file was not sufficient to identify the bad file during the file
  108. selection process. This has not been fixed and any file that gets
  109. through the file selection will be a valid INI file.
  110.  
  111. 14. If a Drive was selected and the root directory was empty,
  112. INIMAINT would terminate attempting to fill the file Listbox. This
  113. has now been fixed.
  114.  
  115. 15. When editing the any line of a multiline entry in the Key
  116. Value MLE while in overtype mode, as opposed to insert mode,
  117. the following line had the initial characters deleted. This has been
  118. fixed.
  119.  
  120. 16. When the Focus was removed from the INIMAINT window, the
  121. Titlebars of both Listboxes stayed in a highlighted condition. This
  122. has been fixed and the colors of the Titlebars will now behave
  123. correctly.
  124.  
  125. 17. Since no user input is accepted while the Listboxes are being
  126. filled, the MLE is being reset, a Size is being calculated or a Move
  127. or Copy are in progress, the Pointer should be changed to an
  128. hourglass pointer, this was not working, but has been fixed.
  129.  
  130. 18. The Help has been finished.
  131.  
  132. 19. There was a problem with seeing the pointer in the MLE under OS/2
  133. 2.0, so a call to WinSetOwner setting the Main Client window as the
  134. Owner of the MLE was added to fix the problem.
  135.  
  136. ******************************* V1.0e *******************************
  137.  
  138. The items fixed in Version 1.0e are:
  139.  
  140. 1. Copy an Entire File got a return of 10 from the Copy program. This
  141. has been fixed.
  142.  
  143. 2. The MOVE/COPY in Progress Dialog did not display the word
  144. Move/Copy. This has been fixed.
  145.  
  146. 3. The MOVE/COPY did not verify that the target file was a valid INI
  147. file. This will now be done and an Error Message box will be
  148. displayed if the COPY/MOVE cannot be done.
  149.  
  150. 4. The smallest item that could be MOVEed or COPYed was an
  151. Application. It is now possible to COPY/MOVE an individual key.
  152.  
  153. 5. Considerably more Help has been added.
  154.  
  155. 6. Accelerator Keys have been implemented and added to the Help.
  156.  
  157. 7. If a New File was selected and either the OS2.INI or OS2SYS.INI
  158. files were specified without the initial path information, INIMAINT
  159. did not recognize them as the User and System INI files and attempted
  160. to open them in an incorrect manner. This has been fixed.
  161.  
  162. 8. If a COPY/MOVE was attempted and either the OS2.INI or OS2SYS.INI
  163. files were specified as the target without the initial path
  164. information, INIMAINT did not recognize them as the User and System
  165. INI files and attempted to open them in an incorrect manner. This has
  166. been fixed.
  167.  
  168. 9. If an INI file was selected that had no Applications in it, the
  169. INIMAINT window would not appear. This has been fixed.
  170.  
  171. 10. It was not possible to cancel the Add Application or Add Key
  172. without getting the Message Box saying that something had to be
  173. entered. The Cancel will now work correctly.
  174.  
  175. 11. The Listboxes and MLE would flash excessively. This will no
  176. longer occur.
  177.  
  178. 12. When in the Dump Dialog, it was not possible to change the name
  179. of the Dump File by simply typing in the Filename Entry Field. This
  180. will now work and the new filename will become the Dump File for
  181. future Dumps.
  182.  
  183. 13. When the Help was open, the Title Bars of the smaller INIMAINT
  184. windows appeared to still have the focus because they were
  185. highlighted. This will no longer occur.
  186.  
  187. 14. When in the Replace Key Dialog and the key value was longer than
  188. what could be displayed in the Listbox, any change to the value would
  189. cause the contents of the ASCII and Hex Entry Fields would shift to
  190. the very end of the value data. This has been fixed.
  191.  
  192. 15. INIMAINT was not using the Logo Display Time that is set by the
  193. user in the Control Panel, but was using an internal 10 second
  194. display time. This has been changed so that the Control Panel value
  195. will now be used. Even with a value specified in the Control Panel,
  196. it is still possible to turn off the Initial Logo Display with the
  197. Options Dialog.
  198.  
  199. ******************************* V1.0f *******************************
  200.  
  201. The items fixed in Version 1.0f are:
  202.  
  203. 1. The Menus did not show the Accelerator Keys, this information has
  204. been added to the appropriate menu items.
  205.  
  206. 2. Because of a bug in handling Timers, INIMAINT would get an error
  207. when run under OS/2 2.0 and the About Dialog was dismissed. This has
  208. been fixed by changing the Parent of the About box when it is invoked
  209. from the Menu.
  210.  
  211. 3. The Help indicated that there was an Accelerator key that would
  212. directly pull down the COPY or MOVE menus. This was an error and has
  213. been removed from the Help file.
  214.  
  215. 4. When a COPY/MOVE was attempted for the Selected Application or
  216. Selected Key and either of the Selected Names had an embedded blank,
  217. then the COPY?MOVE would terminate with an Error=5 from the INICOPY
  218. program. This has been fixed.
  219.  
  220. 5. The Error Message Box displayed when an invalid INI file was
  221. selected did not include the error message, this has been fixed.
  222.  
  223. 6. When an invalid INI file was selected, INIMAINT would not close
  224. the file, therefore, no other process could use the file. This has
  225. been fixed.
  226.  
  227. ******************************* V1.0g *******************************
  228.  
  229. The items fixed in Version 1.0g are:
  230.  
  231. 1. The Dump to a file could get a Trap D and could dump some garbage
  232. messages because it was going past the end of the Message table. This
  233. has been fixed.
  234.  
  235. 2. A message sequence number has been added to the dump of messages.
  236.  
  237. 3. When doing a MOVE/COPY the Wait Pointer was not set correctly when
  238. the pointer was over the Listboxes or MLE. This has been fixed.
  239.  
  240. 4. If a Group was deleted, a hole was left in the menu items that
  241. include the Groups. This has been fixed.
  242.  
  243. 5. When things were MOVEd from an INI file to another file, the
  244. Listboxes were not updated to reflect the fact that the MOVEd items
  245. were no longer in the Source INI file. This has been fixed and the
  246. Listboxes will be automatically updated after the MOVE.
  247.  
  248. 6. The supplemental error text was not always complete if an error
  249. occurred during a MOVE/COPY operation. This has been fixed.
  250.  
  251. 7. V1.0f displayed a Version number of 1.0e. V1.0g will show the
  252. correct version.
  253.  
  254. 8. When the last Key for an Application was moved to another INI
  255. file, the Application entry was not deleted and an Application with
  256. no Keys was left in the file. INIMAINT will now check to see if a
  257. MOVE Key is being done for the last Key and promote it to a MOVE
  258. Application, so that the Application entry will be removed from the
  259. Source INI file.
  260.  
  261. 9. The Groups Dialog did not redisplay the Group that was being
  262. displayed when the last Group Update was done. This has been fixed.
  263.  
  264. ******************************* V1.1  *******************************
  265.  
  266. The items fixed in Version 1.1 are:
  267.  
  268. 1. The System Default Accelerator keys did not work because the
  269. System Commands were not getting to the Main Window Frame. This has
  270. been fixed.
  271.  
  272. 2. The Registration code was added.
  273.  
  274. 3. When an input string was requested, the user was asked to 'Select'
  275. something. This has been changed to ask the user to 'Enter' the
  276. information.
  277.  
  278. ******************************* V1.1a  *******************************
  279.  
  280. The items fixed in Version 1.1a are:
  281.  
  282. 1. The supplemental error text was not correctly filled in when there
  283. was an error during a COPY/MOVE. This has been fixed.
  284.  
  285. 2. It was possible to get a Trap D when selecting a New INI File
  286. because dynamic memory was released prematurely. This has been fixed.
  287.  
  288. ******************************* V1.1b  *******************************
  289.  
  290. The items fixed in Version 1.1b are:
  291.  
  292. 1. It was possible to get a Trap D while the MLE was formatting a
  293. long entry if an attempt was made to make a selection in one of the
  294. Listboxes or an attempt was made to change the MLE. Now any such
  295. attempt will cause an error tone and the action will be rejected
  296. until all updaing has been done.
  297.  
  298. 2. There were some relatively rare situations where dynamic memory
  299. blocks were not being freed, theu that amount of memory used would
  300. slowly grow. This has been fixed.
  301.  
  302. 3. In order to better track potential memory problems, a dump of the
  303. contents of the heap has been added to the Dump window and and more
  304. complete listing will be written to the Dump File.
  305.  
  306. 4. Under certain circumstances, INIMAINT would put Keys in the
  307. OS2.INI file for the INI File Maintenance Application that had NULL
  308. Values. This will no longer occur, although it did not cause any
  309. problem other than put unneeded items in the INI file.
  310.  
  311. 5. There are certain Applications and/or Keys that cannot be deleted
  312. from the OS2SYS.INI file. When an attempt was made to Delete or MOVE
  313. one of these entries, INIMAINT would terminate. Additional code has
  314. been inserted that will identify these conditions, inform the user
  315. and then continue.
  316.  
  317. 6. Under OS/2 2.0 INIMAINT would terminate with an error 109 after
  318. the About INIMAINT Dialog box was displayed. This was caused by
  319. static variables that were not correctly initialized after the first
  320. use of the dialog. This has been fixed.
  321.  
  322. 7. The Spooler, and perhaps other sections of OS/2 protect certain
  323. areas of the INI files, especially the System INI file, thus making
  324. it impossible to remove certain Keys from the files, even though the
  325. Keys are associated with things that are no longer on the Desktop. In
  326. order to facilitate these efforts, a new capability has been added to
  327. INIMAINT that allows the user to change the User and/or System INI
  328. files to a different file. The user can then edit the original file
  329. as he wishes and then switch back. This must be done with much care
  330. in order to avoid causing a system problem, but the capability can be
  331. extremely important when attempting to recover from conditions where
  332. the operating system has created conflicting or other conditions that
  333. can be corrected no other way.
  334.  
  335. ******************************* V1.1c  *******************************
  336.  
  337. The items fixed in Version 1.1c are:
  338.  
  339. 1. The Main Window Menu Items for changing the User and System INI
  340. files have been moved from the Actions Menu to a new Menu, Recover.
  341. It is intended that additional capabilities will be added to give the
  342. user the ability to recover from corrupted INI files and those
  343. capabilities will be added to this menu. In addition, the Actions
  344. Menu was getting crowded.
  345.  
  346. 2. Two new items have been added to the Action Menu. Rename Key will
  347. change the name of an existing Key and Duplicate Key will make a
  348. duplicate copy of a Key Value using a different Key Name.
  349.  
  350. ******************************* V1.1d  *******************************
  351.  
  352. The items fixed in Version 1.1d are:
  353.  
  354. 1. The New File and Exit Menus have been combined into a single Menu
  355. called File. This was done for two reasons, first, the number of menu
  356. items was becoming too large and, second, a new file type function
  357. was added, see below.
  358.  
  359. 2. Since there are a number of different conditions that could modify
  360. an INI file that is currently being viewed using INIMAINT, the
  361. ability to reload an INI file from disk has been added. It is the
  362. Refresh selection on the File Menu.
  363.  
  364. 3. There was an error in Error Message 13 in the INICOPY program.
  365.  
  366. 4. It was not possible to select a Application/Key pair when the Key
  367. Value was zero length ie., there was no Value, only the Application
  368. and Key Names. This has been fixed.
  369.  
  370. 5. It was not possible to COPY/MOVE and INI file that had an
  371. Application/Key pair with a zero length Key Value. This has been
  372. fixed.
  373.  
  374. 6. When Adding or Replacing a Key Value, the ability to specify that
  375. a zero termination character is to be added to the Key Value can now
  376. be indicated with a Checkbox.
  377.  
  378. 7. The most common files that INIMAINT is asked to display are the
  379. User and System INI files. In order to make it easy to select these
  380. files, two new entries have been added to the File Menu that allow
  381. for direct selection of these two files without having to use the
  382. file selection dialog.
  383.  
  384. 8. Some of the dialog procedures did not initialize static data
  385. causing a new use of the same dialog to behave in unexpected ways.
  386. This has been fixed.
  387.  
  388. 9. A new item has been added to the Options that gives users the
  389. ability to have the Application and Key Listboxes loaded in the same
  390. sequence as the actual INI file as opposed to alpha sequence.
  391.  
  392. ******************************* V1.1e  *******************************
  393.  
  394. The items fixed in Version 1.1e are:
  395.  
  396. 1. When the menu item was used to switch to the User or System INI
  397. files, the new file information was not saved. The effect of this was
  398. that the next time INIMAINT was run, it would go back to the previous
  399. INI file. This has been fixed.
  400.  
  401. 2. INIMAINT can now be started with a Command Line parameter
  402. specifying the initial INI file for this execution of INIMAINT. This
  403. not only allows INIMAINT to be run with a parameter, but also allows
  404. for it to be run by double clicking on an INI file, if the
  405. association has been set up, and allows for running INIMAINT by
  406. dropping an INI file on the ICON on the Desktop.
  407.  
  408. 3. For versions of OS/2 prior to 2.0, there is no provision for
  409. setting up file associations. Therefore a new item has been added to
  410. the FILE Menu that will set up an association between INIMAINT and
  411. all files whose file extensions are INI. This option will not appear
  412. on the menu if the version is 2.0 or higher.
  413.  
  414. 4. There are some key values which are very long, therefore, they
  415. take a long time to load into the MLE. It is often the case that the
  416. user does not even want to see the key value and would prefer to
  417. switch to another key name. However, it was necessary to wait until
  418. the MLE was filled and then wait again until all of the lines were
  419. removed from the MLE. It is now possible to terminate the loading of
  420. the key value lines into the MLE by hitting the ESC key while the MLE
  421. is loading. The current Application and Key names will still be
  422. highlighted, but the MLE will be empty.
  423.  
  424. 5. In order to keep the menu line from becoming too crowded, the Dump
  425. menu item has been moved to the File submenu. This was an item that
  426. is not frequently used anyway. This makes room for the item below.
  427.  
  428. 6. A new menu item has been added to the main menu, Find. This
  429. submenu will allow searching of either of the listboxes, the key
  430. value MLE, all the key names in the current file, all of the key
  431. values for the current application or all of the key values in the
  432. current file for either an Ascii or Hex value.
  433.  
  434. 7. It was possible to select a new item in the Application or Key
  435. Listboxes while the boxes were being filled. This would cause a
  436. Protection Violation and has now been fixed.
  437.  
  438. 8. When certain errors were encountered during the loading of the
  439. Listboxes or the MLE, they were not reported, this has been fixed.
  440.  
  441. 9. If the Value of a Key is larger than 65,500 characters, selecting
  442. that Key in the Key Listbox would cause a memory allocation error and
  443. the INI file with the Key Value could not be MOVEd, COPYed or used as
  444. the target of a FIND search. All of these have been fixed. However,
  445. only the first 60,000 characters of the Key Value will be displayed
  446. in the Key Value MLE.
  447.  
  448. 10. If INIMAINT was started with an INI file where the first Key
  449. Value of the first Application was very large, it was not possible to
  450. terminate the loading of the Key Value MLE because the main window
  451. was not visible. This has been fixed by making the main window
  452. visible before the intial loading of the Key Value MLE.
  453.  
  454. 11. A new feature, Compare, has been added to the File menu. This
  455. item will allow the user to compare two INI files on any one of three
  456. different levels, write or print a listing of the differences and
  457. write an INI file that contains only those Applications and/or Keys
  458. where there are differences.
  459.  
  460. ******************************* V1.1f  *******************************
  461.  
  462. The items fixed in Version 1.1f are:
  463.  
  464. 1. When an attempt to set an association with the INI files was
  465. attempted under OS/2 1.3, the association was set up, but INIMAINT
  466. would then abend with a protection exception. This has been fixed.
  467.  
  468. 2. When INIMAINT asked the user to enter any character string
  469. variable, there was no warning when the entered string was too long.
  470. This has been fixed and the user will hear a beep if they attempt to
  471. enter a string that exceeds the maximum length for the requested
  472. item.
  473.  
  474. 3. It was possible to enter a Group Name that was longer than 30
  475. characters, which is the maximum. This would appear to work
  476. correctly, but subsequent attempts to use INIMAINT on the INI file
  477. involved would cause a protection exception.
  478.  
  479. 4. The filling of the window that holds the Key values, an OS/2 MLE,
  480. was very slow if the key value length exceeded 1,000 or so
  481. characters. If the value approached 64k, then time needed was several
  482. minutes, even on a fast machine. The loading has been changed and 64K
  483. can be loaded into the window in less than 10 seconds on the test
  484. machine, which is a 25mhz 486. However, there does not seem to be any
  485. way to clear a long key value from the window in less than
  486. approximately 45 seconds on the test machine. Several different
  487. approaches have been tried, but none of them resulted in a lower
  488. time. Therefore, it takes longer to clear the key value window than
  489. it takes to fill it. If the 45 seconds becomes a problem, hitting F3
  490. will immediately terminate INIMAINT, which can then be restarted.
  491. However, it is hard to see how this could be done in less than 45
  492. seconds on a regular basis.
  493.  
  494. 5. A Repair feature is being worked on and is in the Online Help.
  495. However, there are still some problems with the code that compares
  496. the INI file entries to the actual contents of the desktop. This
  497. feature will be implemented in the next release. If the item is
  498. selected from the menu, the dialog box will appear and will be fully
  499. functional, except that the Execute Button will not work. Choosing
  500. Execute will result in a Message Box saying that the Execute has not
  501. been implemented in this release.
  502.  
  503. 6. At least one user has a need to move a Key from one Application to
  504. another. The Duplicate Key item on the Action Menu has been modified
  505. so that the user will now be prompted for a New Application Name as
  506. well as a New Key Name. One of these names must be modified and the
  507. Key Value will be copied using the modified names. If just the
  508. Application Name is changed, then this has the effect of copying the
  509. Key Name and Value to the new Application. The information will
  510. remain using the old Application and Key Names unless specifically
  511. deleted by the user.
  512. where there are differences.
  513.  
  514. ******************************* V1.1g  *******************************
  515.  
  516. The items fixed in Version 1.1g are:
  517.  
  518. 1. The clearing of the Key Value window could take a considerable
  519. amount of time when the key value was larger than a few thousand
  520. characters. This has been fixed by changing the code from sending a
  521. message to delete the contents of the window to simply destroying the
  522. window and recreating it.
  523.  
  524. 2. Hitting F10 did not cause a refresh of the file, because the
  525. System uses F10 to hilight the first menu item. The Refresh was
  526. changed to F4.
  527.  
  528. 3. The address and phone number for Carry Associates was changed in
  529. the documentation files, but was not changed in the About Dialog or
  530. in the online Help. This has been fixed.
  531.  
  532. 4. A new item has been added to the Action Menu, Duplicate
  533. Application, which will make a duplicate copy of any Application in
  534. the same INI file using a different Application Name.
  535.  
  536. 5. When a Key was Duplicated in an INI file and the copy was put in
  537. an Application that did not previously exist, the Application Listbox
  538. was not refreshed. This has been fixed.
  539.  
  540. ******************************* V1.1h  *******************************
  541.  
  542. The items fixed in Version 1.1h are:
  543.  
  544. 1. A Rename Application item has been added to the Action Menu.
  545. This is the same as the Duplicate Application except that the old
  546. Application is deleted.
  547.  
  548. ******************************* V1.1i  *******************************
  549.  
  550. The items fixed in Version 1.1i are:
  551.  
  552. 1. The Control Program Error indicator could be reset in an error
  553. situation before the Dump Dialog was displayed, thus losing this
  554. information. This has been fixed by saving the contents of this
  555. variable at the point that the initial error occurred.
  556.  
  557. 2. The found flag was not always reset when multiple Find's were
  558. requested. The result of this was an indication that a target was
  559. found when it really was not. This has been fixed by resetting the
  560. found flag at the start of each find cycle.
  561.  
  562. 3. A new item has been added to the Recover Menu, Repair INI file.
  563. Refer to the INIREP.TXT file for a detailed description of the
  564. currently available repair actions and the online help for how to use
  565. the facility. Initially, the only repair action that is available is
  566. to remove entries from any INI file that reference files which are
  567. not present on the desktop.
  568.  
  569. 4. The Print function in the Compare and Repair Dialog boxes did not
  570. correctly print lines that were longer that the current page, the
  571. line would be truncated rather than carried over to the next line.
  572. This has been fixed.
  573.  
  574. 5. When certain errors occurred, for example during a repair action
  575. or a file compare, the error was not reported via the Dump Dialog and
  576. INIMAINT would simply stop processing messages. This has been fixed
  577. by insuring that the various work threads correctly return any error
  578. indication to the controlling dialog and that the dialog procedure
  579. terminates the dialog when the error is seen.
  580.  
  581. ******************************* V1.1j  *******************************
  582.  
  583. The items fixed in Version 1.1j are:
  584.  
  585. 1. A new item, Condense, has been added to the Repair Menu. This item
  586. will condense the empty space out of the Current, System, User or
  587. both System and User INI files with a single selection. INIMAINT has
  588. had this capability for some time, but it required a number of
  589. different selections to accomplish.
  590.  
  591. 2. The menu item to change both the System and User INI files only
  592. changed the User INI file. This has been fixed.
  593.  
  594. 3. An item has been added to the online help to describe what is
  595. meant be the System and User INI files.
  596.  
  597. 4. The Size submenu has been expanded to add the ability to calculate
  598. a Size for the System INI File or User INI File without having to
  599. make one of these files the current INI file.
  600.  
  601. 5. The Copy submenu has been expanded to add the ability to make a
  602. Copy of the System INI File, the User INI File or both the System and
  603. User INI files without having to make these files the current INI
  604. file.
  605.  
  606. ******************************* V1.1k  *******************************
  607.  
  608. The items fixed in Version 1.1k are:
  609.  
  610. 1. A new submenu has been added to the Actions menu, Backup. This
  611. allows the user to make a backup copy of the System INI File, the
  612. User INI File or both the System and User INI Files. This item
  613. differs from the Copy item in two respects. First, in order for a
  614. Copy to be a true backup, the target file must not exist. With Copy,
  615. it was necessary for the user to insure that this was the case. The
  616. Backup menu item will automatically erase the file if it already
  617. exists. Second, each time a copy was done, it was necessary to
  618. specify the target INI file for the copy and, since INIMAINT only
  619. maintains a single target copy filename and does not save this
  620. filename from one execution of INIMAINT to the next, the names had to
  621. be reentered each time. INIMAINT will save the names of the System
  622. and User INI File backup target files and present them as the default
  623. target files each time a backup is requested. Finally, a new item has
  624. been added to the Options Dialog that allows the user to bypass being
  625. asked if they want to use the current backup target files. If this
  626. option is selected then INIMAINT will use the backup target files
  627. without asking the user for confirmation.
  628.  
  629. 2. The Copying File Box would always be displayed during a copy, even
  630. if the Option was set to not display it. This has been fixed.
  631.  
  632. 3. There were two potential heap corruption situations in the INICOPY
  633. program. In one case the wrong form of the free API was used. In the
  634. other case, it was possible to free the same memory block more than
  635. one time. Both of these have been fixed.
  636.  
  637. 4. The Condense item on the Recover menu has been improved in two
  638. ways. First, INIMAINT will now automatically build a name for the
  639. temporary INI file and insure that it does not duplicate an existing
  640. file, this eliminates the need to ask the user for the temporary
  641. filename. Second, once the initial copy is done, INIMAINT will use
  642. the standard copy to make a second copy of the new file, erase the
  643. original file and then rename the second copy to the original name.
  644. This eliminates the need to do a second INI type of copy, which can
  645. take a relatively long time. The effect of this is to significantly
  646. reduce the amount of time that is required to do the Condense.
  647.  
  648. 5. There was a serious bug in the Condense Both INI files code. The
  649. temporary file was not erase between the two copies, so the second
  650. file contained everything from both files. This has been fixed by
  651. erasing the temporary file immediately after the copy.
  652.  
  653. ******************************* V1.1l  *******************************
  654.  
  655. The items fixed in Version 1.1l are:
  656.  
  657. 1. When attempting to do a Copy or Move with the System or User file
  658. as either the source or target file and lower case characters were
  659. user in either file name, the Copy could fail because INICOPY did not
  660. recognize the names as the names of these files, which must be opened
  661. differently. This has been fixed by forcing the names to upper case
  662. before checking them against the names of the standard files.
  663.  
  664. 2. If an error was encountered setting the normal or wait pointers,
  665. it was not reported because the subroutines did not return an error
  666. return. This has been fixed.
  667.  
  668. 3. If Cancel was chosen when the initial Condense Dialog was
  669. displayed a SYS3175 error would occur because a NULL pointer was
  670. passed to free(). This has been fixed by moving the free() to a point
  671. after the pointer has been validated.
  672.  
  673. 4. it was possible for certain entries in some INI files to cause the
  674. INIMAINT Repair Dialog to terminate with a 1109 logic error and a DOS
  675. error of 123. This was caused by passing a name to DosLoadModule that
  676. it considered invalid, INIMAINT did not check for this return and
  677. would, therefore, post it as an error. This has been fixed by
  678. including this check in the list of returns that are considered valid
  679. returns by INIMAINT.
  680.  
  681. 5. A logic error 1111 witha DosError of 15 was possible during a
  682. Repair because INIMAINT did not check for an Invalid Drive return
  683. from the DosOpen of a drive. This has been fixed by including this
  684. error in the normal set of checks.
  685.  
  686. 6. When INIMAINT starts, it saves the current pointer from the
  687. Desktop so that it will know which pointer to restore after putting
  688. up the Wait pointer. It was possible, if some unusual pointer was
  689. displayed at the time that INIMAINT saved the current pointer, that
  690. the wrong pointer type would be saved and an attempt to restore to
  691. this incorrect pointer would cause a logic error 616. This has been
  692. fixed by saving the standard pointer rather than attempting to save
  693. the current pointer.
  694.  
  695. 7. When the Condense of both the System and User INI files was
  696. selected. The desktop was reset two times for each file. This caused
  697. two problems, first, it takes a long time to reset the desktop and,
  698. second, on certain occasions it left the desktop in a condition where
  699. it was necessary to reboot before any work could be done. This has
  700. been fixed by, in this situation, copying both the System and User
  701. INI files before the first Reset. This way the desktop is only reset
  702. two times, which is the minimum possible.
  703.  
  704. 8. Because of a conflict between the LOCKUP facility and Dialog boxes
  705. that have had their Parent switched to the Desktop Object Window, in
  706. order to make the dialog not visible, the Option that sets the
  707. display of the Copy Dialog will not work. The Copy Dialog will always
  708. be displayed, no matter what the setting of the Option. Once this
  709. problem is researched and something is done to remove the conflict,
  710. the Option will be reenabled.
  711.  
  712. ******************************* V1.1m  *******************************
  713.  
  714. The items fixed in Version 1.1m are:
  715.  
  716. 1. When a Size was cancelled using the Esc key, the pointer did not
  717. return to the normal pointer and the thread was not terminated, thus
  718. INIMAINT would not do any work and had to be cancelled externally.
  719. This has been fixed.
  720.  
  721. 2. The Options Dialog was becoming too high, so it has been broken
  722. into tow side by side lists.
  723.  
  724. 3. A new Option, Fast Copy, has been added. If this Option is
  725. activated then INIMAINT will use special high speed methods to access
  726. the INI files when an entire file is being Copied, Moved, Backedup or
  727. Condensed. This greatly reduces the time necessary to process large
  728. INI files, such as the System and User INI files.
  729.  
  730. ******************************* V2.0  *******************************
  731.  
  732. The items fixed in Version 2.0 are:
  733.  
  734. 1. This version is a full 32 bit version.
  735.  
  736. 2. A number of improvements have been made to the INSTALL procedure,
  737. including the ability to install all the files into a single
  738. subdirectory.
  739.  
  740. 3. The Repair and Compare Dialogs had the Options box and the results
  741. Listbox too close together the Dialog was also too high to
  742. comfortably fit on a default 640x480 screen. Both of these have been
  743. fixed. 
  744.  
  745. 4. When an error was encountered in the Repair Process, the line from
  746. the INI file that caused the problem was not placed into the
  747. supplemental error text field. This has been fixed.
  748.  
  749. 5. Because the 16 bit Prf API's were limited to 64K of data for any
  750. key Value, INIMAINT was limited to reading and displaying this amount
  751. of data. The restriction has been removed with this version because
  752. of the conversion to full 32 bit.
  753.  
  754. 6. The Repair Function had attempted to see if *.PSF files that were
  755. in the INI files with no path information actually existed on the
  756. Desktop. DosLoadModule was used for this check, since the files
  757. should be in the LIBPATH. It turns out that DosLoadModule will not
  758. find anything other than DLL files, so this check was removed.
  759.  
  760. 7. The Repair Function ignored files that had a pathname that
  761. indicated they were on a floppy drive, a disk drive with removable
  762. media, a tape drive, an unknown type of drive, an invalid drive and a
  763. drive that could not be accessed via DosOpen. Since it is very
  764. unlikely that any INI file entry that has a pathname that starts with
  765. any of these type of drive is one that should remain in the INI file,
  766. all of these conditions have been added to the list of situations
  767. that INIMAINT will recommend for removal.
  768.  
  769. 8. If Help was requested while doing a Repair after a new Save INI
  770. File or Write File was selected, the Help would not work because the
  771. Repair Dialog was not reset as the active help window. This has been
  772. fixed.
  773.  
  774. 9. If the Repair function encountered a path and filename combination
  775. that looked like it was valid, but it was not, the Repair would
  776. terminate with a 1109 Logic Error Code. This has been fixed by adding
  777. checks for an invalid filename at the appropriate points.
  778.  
  779. ******************************* V2.0a  *******************************
  780.  
  781. The items fixed in Version 2.0a are:
  782.  
  783. 1. V2.0 forced and path and filenames to upper case in a number of
  784. places. The caused a number of problems with lower case characters in
  785. filenames and this code has been removed.
  786.  
  787. 2. It was possible for the New File Dialog to go into a loop during
  788. the initialization phase. This has been fixed by checking if the code
  789. involved has already been executed, and causing an abend if it has.
  790.  
  791. 3. Two of the SIZE Accelerator keys used Alt-F8 and Alt-F9, which are
  792. used by OS/2, so they are not available. The SIZE User INI File has
  793. been changed to Alt-R and the SIZE System INI File has been changed
  794. to Alt-M.
  795.  
  796. 4. The New File Dialog was not wide enough, so it has been expanded.
  797.  
  798. ******************************* V2.0b  *******************************
  799.  
  800. The items fixed in Version 2.0b are:
  801.  
  802. 1. Because of problems with the custom New File Dialog, this version
  803. has been modified to use the standard OS/2 New File Dialog.
  804.  
  805. ******************************* V2.0c  *******************************
  806.  
  807. The items fixed in Version 2.0c are:
  808.  
  809. 1. When INICOPY was invoked by INIMAINT, the path and filename of the
  810. Input and Output files were not enclosed in quotes. This created a
  811. problem with parsing the parameter string. This has been fixed by
  812. enclosing these two parameters in quotes.
  813.  
  814. 2. When the Condense was used the part of the initial message that
  815. said that the Desktop would be reset twice was confusing. The part of
  816. the message about resetting the Desktop twice has been removed so
  817. that the message now simply states that the Desktop will be reset.
  818.  
  819. 3. During the Condense, some of the messages displayed in the right
  820. hand window were too long for the window. The window has been
  821. expanded so that it will now display the full message.
  822.  
  823. 4. Because of the warning about reseting the Desktop, users have
  824. sometimes waited for some time after a Condense has completed, since
  825. they do not want to cause a problem with their environment. This is
  826. because there is no clear indication that the Condense is complete.
  827. This has been fixed by displaying an additional dialog that will tell
  828. the user that the Condense is finished and it is okay to resume
  829. normal operations.
  830.  
  831. 5. When the Fast Copy Option was used, INICOPY did not validate the
  832. input file to insure that it was an INI file and one that the Fast
  833. Copy code understood. This has been fixed by adding two new checks to
  834. INICOPY and to the Copy Dialog in INIMAINT. One check will report an
  835. error if the input file is not a valid INI file. The other will
  836. change the Fast Copy to a normal copy if the INI file is not one that
  837. the Fast Copy Code understands, thus making the file not valid for
  838. Fast Copy.
  839.  
  840. 6. The Condense routine has been updated to test the file to be
  841. Condensed to see if the Condense is really necessary. If the Condense
  842. will not reduce the size of the file, then the user will be informed
  843. of this via a Message Box.
  844.  
  845. ******************************* V2.0d  *******************************
  846.  
  847. The items fixed in Version 2.0d are:
  848.  
  849. 1. There were a number of places where the return from a PM API call
  850. was converted to a 32 bit integer by using the SHORT1FROMMR macro and
  851. then casting the result to a 32 bit integer. Because the macro goes
  852. through an unsigned short variable, this did not work for negative
  853. numbers, such as LIT_END. The result of this was that some things did
  854. not work correctly, including selection of a new member of a group.
  855. All of these situations have been fixed by having the macro fill a 16
  856. bit integer and then using the 16 bit integer to fill the 32 bit
  857. integer.
  858.  
  859. 2. If INIMAINT could not open a file as a valid INI file and the
  860. current INI file could also not be opened, INIMAINT would just start
  861. and end with no error message. Users with this problem were very
  862. confused by this and did not know what was happening. This has been
  863. fixed by adding code that will insure that at least the error dialog
  864. will be displayed in any error situation.
  865.  
  866. 3. If an error was encountered attempting to open the default INI
  867. file at the very start of the execution of INIMAINT, it was possible
  868. for the Error Dialog routine to get an access violation because some
  869. pointers were NULL and the NULL value was not tested. This has been
  870. fixed by adding code to test the pointer values for NULL and print
  871. None if they are not yet set.
  872.  
  873. 4. When the initial file that INIMAINT attempted to open was a file
  874. with no applications or keys, an error was encountered because the
  875. determination of whether the file was in the new or old format would
  876. result in an invalid file setting. This has been fixed by
  877. specifically checking for an empty file.
  878.  
  879. ******************************* V2.0e  *******************************
  880.  
  881. The items fixed in Version 2.0e are:
  882.  
  883. 1. Because of the large number of possible items in the Repair
  884. window, it was possible to exceed the maximum capacity of a Listbox.
  885. Therefore, the Repair window has been changed to a Text type
  886. Container.
  887.  
  888. 2. An additional option has been added to the Repair selections. If
  889. the users chooses to simply have the items that would be Repaired
  890. displayed in the Window, it is now possible to select the items that
  891. they want repaired and then check the 'Repair Selected' Checkbox and
  892. then Execute and those items that are selected will be Repaired.
  893.  
  894. 3. Because there will now be a number of different Repair actions,
  895. the selection of the type of Repair desired is now a Combobox rather
  896. than a Checkbox.
  897.  
  898. 4. A new Repair items has been added, Removal of any Key with a Zero
  899. Length Key Value. These Keys cause a problem for the WPSBKUP program
  900. and have no value.
  901.  
  902. 5. A new Repair capability has been added, the removal of any
  903. File/Directory Handles in the OS2SYS.INI file that point to Files or
  904. Directories that are no longer on the desktop. If a Drive or
  905. Directory is deleted using this facility, all subdirectories and
  906. files in the Directory and Subdirectories are also deleted. In
  907. addition, making any changes in this area requires that the Desktop
  908. be reset before the WPS will recognize the changes, so this will be
  909. done upon dismissal of the Repair dialog.
  910.  
  911. 6. A new Repair capability has been added, the removal of any WPS
  912. entries in the OS2.INI file that point to objects that are no longer
  913. on the desktop.
  914.  
  915. 7. A new Repair capability has been added, the removal of any Objects
  916. in the OS2.INI file that the user wants removed from the INI files.
  917. There is currently no known way to verify whether the Objects
  918. actually exist, therefore, INIMAINT cannot automatically delete
  919. invalid Objects.
  920.  
  921. 8. The capability to display the contents of the File/Directory
  922. Handles, Objects and WPS entries has been added to the Repair.
  923. Although this is not strictly a Repair function, it allow the user to
  924. see, save in a file or print the expanded information. This allows
  925. the user to determine the actual meaning of all the random looking
  926. numbers seen in the OS2.INI and OS2SYS.INI files for both Key Names
  927. and Key Values.
  928.  
  929. 9. It was not possible to always print the contents of the Repair
  930. Window because the print routine would not handle an empty line.
  931. This has been fixed.
  932.  
  933. 10. It was possible to initially start INIMAINT in such a way that it
  934. would set the default window size at zero, even though the window was
  935. not minimized. When this occurred, the INIMAINT window would not be
  936. visible and it woud not be in the minimized folder. This has been
  937. fixed by adding checks to force the window to a minimum size if it is
  938. not minimized.
  939.  
  940. 11. I the user of a registered copy of INIMAINT set the Logo Display
  941. Time to indefinite, INIMAINT would abend during its initialization
  942. because a negative number was passed to the WinStartTimer API. This
  943. has been fixed by adding code to check for a negative number and to
  944. not even start the timer in this case.
  945.  
  946. 12. The word 'reason' was not spelled correctly in the message that
  947. informed the user that the Help was not available if the Help file
  948. could not be found. This has been fixed.
  949.  
  950. 13. There was no user notification when INIMAINT was about to create
  951. a new INI file because the file the user selected did not already
  952. exist. This has been changed so that the user will now be informed
  953. that INIMAINT is about to create a new INI file and the user will
  954. have the option of creating the new file, choosing a different file
  955. or canceling INIMAINT.
  956.  
  957. 14. The type of ICON displayed in some of the message boxes was not
  958. the appropriate ICON. These have been fixed.
  959.  
  960. 15. It was not possible to add any Groups to an INI file because the
  961. response from the Prf API that deleted the old Groups was changed
  962. from TRUE to FALSE if the old Group information did not exist. This
  963. would cause a 704 logic error when the OK button was chosen on the
  964. Group Dialog. This has been fixed by checking for the Not in Index PM
  965. Error Code when a FALSE is returned by this API and accepting this as
  966. a valid response.
  967.  
  968. ******************************* V2.0f  *******************************
  969.  
  970. The items fixed in Version 2.0f are:
  971.  
  972. 1. When Repairing Dir/File Handles and the drive letter is selected
  973. for deletion, all of the invalid directories and files on the drive
  974. should be deleted. It did not happen if the drive was a valid
  975. drive. This has been fixed by adding extra logic to check for this
  976. specific condition.
  977.  
  978. 2. If the number of Dir/File handles becomes very large, it is
  979. possible that they will be stored in the OS2SYS.INI file in multiple
  980. pieces. 2.0e would ignore all but the first piece. This has been
  981. fixed by continuing to get the data until all of the pieces have been
  982. accessed.
  983.  
  984. 3. There were a number of problems with the dumping of the Repair
  985. Variables. These have all been fixed.
  986.  
  987. 4. If the Device Driver for a drive did not correctly handle the API
  988. used by INIMAINT to identify the drive type, it would cause INIMAINT
  989. to terminate with a Logic Error 1112. This was caused by a
  990. undocumented return code from the API. Typically, the device driver
  991. is an old driver and often is supporting a CD-ROM device. This
  992. problem has been fixed by adding code to handle the new return from
  993. the API and, when the error return is seen, INIMAINT will do a
  994. further check on the drive and, if it is write only, will identify it
  995. as a CD-ROM device. Otherwise, the drive will be identified and an
  996. invalid drive.
  997.  
  998. 5. There were circumstances where a Repair to the WPS entries would
  999. get a logic error 1104 because of an attempt to allocate a zero
  1000. length memory block. This has been fixed by initializing the Key
  1001. Value Length field to a small value rather than zero, so that the
  1002. allocation will work.
  1003.  
  1004. 6. Invalid PM_Abstract:FldrContent entries that had an invalid Object
  1005. ID were not deleted, even though the entry in the Repair Window would
  1006. indicate it was deleted. The reason was the some of the value level
  1007. items were valid, but the key name was not a valid Object. This
  1008. caused the item to be deleted from the INI file and then reinserted.
  1009. This has been fixed by insuring that all value level entries for an
  1010. invalid key name are also marked as invalid because of the key name.
  1011.  
  1012. 7. The Repair Save and Repair Write file were not saved from one run
  1013. of INIMAINT to the next. Additional code has been inserted to save
  1014. the current information and it will be presented as the default for
  1015. future Repair activities.
  1016.  
  1017. ******************************* V2.1  *******************************
  1018.  
  1019. The items fixed in Version 2.1 are:
  1020.  
  1021. 1. When there was nothing to Repair for the Repair Dir/File Handles
  1022. and Repair WPS Entries, the message box that told the user this was
  1023. not displayed because the variable that the message box code tested
  1024. was not set correctly. This has been fixed.
  1025.  
  1026. 2. When displaying the Dir/File Handles the drive entries were
  1027. displayed even if there were no Directory or File entries to display
  1028. for the drive. This has been fixed by adding additional code to only
  1029. add the drive information to the window when the first Directory or
  1030. File is added.
  1031.  
  1032. 3. The Help for the new Repair functions was not complete, but has
  1033. now been completed.
  1034.  
  1035. 4. Some object values in the 0x20000 range could be identified as
  1036. invalid, when they were actually valid. This has been fixed by
  1037. insuring that values in the 0x20000 range are correctly checked
  1038. against the Objects entry in the OS2.INI file.
  1039.  
  1040. 5. Some of the Repair functions take a considerable amount of time
  1041. and often the INI files do not have any errors in them, so the only
  1042. result is a message box telling the user that there is nothing to
  1043. Repair. I was easy to miss the appearance of this box, so code has
  1044. been added to cause a beep whenever the message box is displayed.
  1045.  
  1046. ******************************* V2.1a  *******************************
  1047.  
  1048. The items fixed in Version 2.1a are:
  1049.  
  1050. 1. If a drive connected to the system via a switch was not switched
  1051. onto the system when a Repair was requested, it was possible for a
  1052. coupel of the API's to return the General Failure Error code, which
  1053. was not correctly handled by the Repair code. The code has been
  1054. changed to look for this specific error condition and to treat the
  1055. drive as an Inaccessable Drive.
  1056.  
  1057. 2. When a Repair was requested, the Do Not Save Option was not turned
  1058. on and the Save INI file had not been selected, INIMAINT would
  1059. terminate with a logic error code of 1. This was caused by an
  1060. incomplete check of the filename, specifically, it was checked for a
  1061. NULL pointer, but not checked to see if it was an empty string. The
  1062. additional check has now been added.
  1063.  
  1064. 3. When Repairing the File/Directory Handles, the Ask Before Repair
  1065. did not work because there was a drive level check placed in front of
  1066. the code that asked the user and it should have been placed after the
  1067. code that asked the user. The code has now been moved to the correct
  1068. postion.
  1069.  
  1070. 4. Alt-R was specified as an accelerator key for Size User INI File.
  1071. However, this key was needed for the Recover Menu. Therefore the Size
  1072. User INI File has been changed to Alt-E.
  1073.  
  1074. 5. In order to facilitate the processing of both the WPS Entries and
  1075. the File/Dir Handles, a new set of Repair types have been added that
  1076. will List or Repair both sets of Entries at one time.
  1077.  
  1078. 6. When Invalid Handles were being listed or the Handles were being
  1079. Repaired. The actual drive entry for CD-ROM and Floppy drives was not
  1080. displayed in the Window. Addtional code has been added to insure that
  1081. these entries will always get put in the window when appropriate.
  1082.  
  1083. 7. If the Ask First Repair Type was chosen, it was possible that the
  1084. user could be forced to respond Yes or No to a very large number of
  1085. items and there was no way to stop the questions until all of the
  1086. approriate items had been presented to the user. The message box has
  1087. now been modified so that there is also a Cancel entry that will
  1088. terminate the questions and do the Repair actions that had been
  1089. requested to that point.
  1090.